package com.chinaunicom.credits.dao;

import java.util.List;

import com.chinaunicom.credits.model.Gift;

public interface GiftMapper {
    int deleteByPrimaryKey(Short nGiftno);

    int insert(Gift record);

    int insertSelective(Gift record);

    Gift selectByPrimaryKey(Short nGiftno);
    
    List<Gift> queryAll();

    int updateByPrimaryKeySelective(Gift record);

    int updateByPrimaryKey(Gift record);
    
    List<Gift> queryByType(String vGifttype);
    
    List<Gift> queryByName(String vGiftname);
    
    List<String> queryType();
}